﻿using System;
using System.Web.UI.HtmlControls;
using HiauPdm.Web;

namespace HiauPdm.Web
{
    public partial class PdmMain : PageBase
    {
        protected override bool IsAccess()
        {
            return true;
        }

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack && (Request.UrlReferrer != null && Request.UrlReferrer.AbsolutePath.ToLower().LastIndexOf("login.aspx") >= 0))
            {
                Response.Write("<script type='text/javascript'>top.location.reload();</script>");
                Response.End();
            }
        }
    }
}